<template>
  <div class="signature-container">
    <div class="signature-name">{{ name }}</div>
    <div class="signature-line"></div>
  </div>
</template>

<script>
export default {
  name: 'SignatureField',
  props: {
    name: {
      type: String,
      required: true,
      default: '签字栏'
    }
  }
};
</script>

<style scoped>
.signature-container {
  width: 150px;
  height: 60px;
  text-align: center;
}

.signature-name {
  font-size: 14px;
  margin-bottom: 5px;
}

.signature-line {
  width: 100%;
  height: 1px;
  background-color: #333;
}
</style>